import request from '@/utils/request'

export default {
  // 虫情设备列表
  wormList() {
    return request({
      url: '/nyDevice/wormList',
      method: 'get'
    })
  },
  // 虫情区域统计
  getWormStatisticsByGroup(data) {
    return request({
      url: '/nyDevice/getWormStatisticsByGroup',
      method: 'post',
      data: data
    })
  }
}
